<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>新增</title>
</head>
<body>
<form action="/add" method="post" th:object="${stuModel.student}">
  学号：<input type="text" name="sid" th:value="*{sid}">
  姓名：<input type="text" name="sname" th:value="*{sname}">
  年龄：<input type="text" name="sage" th:value="*{sage}">
  地址：<input type="text" name="saddress" th:value="*{saddress}">
  密码：<input type="text" name="spass" th:value="*{spass}">
  <input type="submit" value="添加">
</form>
</body>
</html>